package com.thinkit.bigdata.web.dao.bus;

import com.thinkit.bigdata.core.feature.orm.mybatis.Page;
import com.thinkit.bigdata.web.model.bus.BusVoiceDetails;
import com.thinkit.bigdata.web.model.bus.BusVoiceDetailsExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BusVoiceDetailsMapper {
    int countByExample(BusVoiceDetailsExample example);

    int deleteByExample(BusVoiceDetailsExample example);

    int deleteByPrimaryKey(Long id);

    int insert(BusVoiceDetails record);

    int insertSelective(BusVoiceDetails record);

    List<BusVoiceDetails> selectByExample(BusVoiceDetailsExample example);

    List<BusVoiceDetails> selectByExample(Page<BusVoiceDetails> page, BusVoiceDetailsExample example);

    BusVoiceDetails selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") BusVoiceDetails record, @Param("example") BusVoiceDetailsExample example);

    int updateByExample(@Param("record") BusVoiceDetails record, @Param("example") BusVoiceDetailsExample example);

    int updateByPrimaryKeySelective(BusVoiceDetails record);

    int updateByPrimaryKey(BusVoiceDetails record);
}
